package com.jeecg.o2o.brestaurants.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;

import org.jeecgframework.poi.excel.annotation.Excel;

/**
 * @Title: Entity
 * @Description: 商店评论
 * @author onlineGenerator
 * @date 2019-03-30 20:45:34
 * @version V1.0
 *
 */
@Entity
@Table(name = "brestaurants", schema = "")
@SuppressWarnings("serial")
public class BrestaurantsEntity implements java.io.Serializable {
	/** 主键 */
	private java.lang.Integer id;
	/** 评论人用户名 */
	@Excel(name = "评论人用户名", width = 15)
	private java.lang.String username;
	/** 评论的星级 */
	@Excel(name = "评论的星级", width = 15)
	private java.lang.String ratingStar;
	/** 创建日期 */
	@Excel(name = "创建日期", width = 15, format = "yyyy-MM-dd")
	private java.util.Date createdate;
	/** 评论人头像 */
	@Excel(name = "评论人头像", width = 15)
	private java.lang.String avatar;
	/** 评论内容 */
	@Excel(name = "评论内容", width = 15)
	private java.lang.String timeSpentDesc;
	/** 流程状态 */
	@Excel(name = "流程状态", width = 15)
	private java.lang.String status;

	private String shopid;

	/**
	 * 方法: 取得java.lang.Integer
	 * 
	 * @return: java.lang.Integer 主键
	 */
	@Id
	@GeneratedValue(strategy = GenerationType.AUTO)

	@Column(name = "ID", nullable = false, length = 20)
	public java.lang.Integer getId() {
		return this.id;
	}

	/**
	 * 方法: 设置java.lang.Integer
	 * 
	 * @param: java.lang.Integer
	 *             主键
	 */
	public void setId(java.lang.Integer id) {
		this.id = id;
	}

	/**
	 * 方法: 取得java.lang.String
	 * 
	 * @return: java.lang.String 评论人用户名
	 */

	@Column(name = "USERNAME", nullable = true, length = 50)
	public java.lang.String getUsername() {
		return this.username;
	}

	/**
	 * 方法: 设置java.lang.String
	 * 
	 * @param: java.lang.String
	 *             评论人用户名
	 */
	public void setUsername(java.lang.String username) {
		this.username = username;
	}

	/**
	 * 方法: 取得java.lang.String
	 * 
	 * @return: java.lang.String 评论的星级
	 */

	@Column(name = "RATING_STAR", nullable = true, length = 50)
	public java.lang.String getRatingStar() {
		return this.ratingStar;
	}

	/**
	 * 方法: 设置java.lang.String
	 * 
	 * @param: java.lang.String
	 *             评论的星级
	 */
	public void setRatingStar(java.lang.String ratingStar) {
		this.ratingStar = ratingStar;
	}

	/**
	 * 方法: 取得java.util.Date
	 * 
	 * @return: java.util.Date 创建日期
	 */

	@Column(name = "CREATEDATE", nullable = true, length = 20)
	public java.util.Date getCreatedate() {
		return this.createdate;
	}

	/**
	 * 方法: 设置java.util.Date
	 * 
	 * @param: java.util.Date
	 *             创建日期
	 */
	public void setCreatedate(java.util.Date createdate) {
		this.createdate = createdate;
	}

	/**
	 * 方法: 取得java.lang.String
	 * 
	 * @return: java.lang.String 评论人头像
	 */

	@Column(name = "AVATAR", nullable = true, length = 50)
	public java.lang.String getAvatar() {
		return this.avatar;
	}

	/**
	 * 方法: 设置java.lang.String
	 * 
	 * @param: java.lang.String
	 *             评论人头像
	 */
	public void setAvatar(java.lang.String avatar) {
		this.avatar = avatar;
	}

	/**
	 * 方法: 取得java.lang.String
	 * 
	 * @return: java.lang.String 评论内容
	 */

	@Column(name = "TIME_SPENT_DESC", nullable = true, length = 50)
	public java.lang.String getTimeSpentDesc() {
		return this.timeSpentDesc;
	}

	/**
	 * 方法: 设置java.lang.String
	 * 
	 * @param: java.lang.String
	 *             评论内容
	 */
	public void setTimeSpentDesc(java.lang.String timeSpentDesc) {
		this.timeSpentDesc = timeSpentDesc;
	}

	/**
	 * 方法: 取得java.lang.String
	 * 
	 * @return: java.lang.String 流程状态
	 */

	@Column(name = "STATUS", nullable = true, length = 32)
	public java.lang.String getStatus() {
		return this.status;
	}

	/**
	 * 方法: 设置java.lang.String
	 * 
	 * @param: java.lang.String
	 *             流程状态
	 */
	public void setStatus(java.lang.String status) {
		this.status = status;
	}

	@Transient
	public String getShopid() {
		return shopid;
	}

	public void setShopid(String shopid) {
		this.shopid = shopid;
	}

}
